Skip to content

Comments

Fix issue with 30d volume not being removed, and commission not being capped (backport #3250)#3256

Merged
jusbar23 merged 1 commit intorelease/protocol/v9.5.xfrom
mergify/bp/release/protocol/v9.5.x/pr-3250
Nov 25, 2025
Merged

Fix issue with 30d volume not being removed, and commission not being capped (backport #3250)#3256
jusbar23 merged 1 commit intorelease/protocol/v9.5.xfrom
mergify/bp/release/protocol/v9.5.x/pr-3250

Conversation

@mergify
Copy link
Contributor

@mergify mergify bot commented Nov 24, 2025

Changelist

  • Fix issue with 30d volume not being decremented
  • Fix issue with commissions about to go over the cap

Test Plan

  • Test cases

Author/Reviewer Checklist

  • If this PR has changes that result in a different app state given the same prior state and transaction list, manually add the state-breaking label.
  • If the PR has breaking postgres changes to the indexer add the indexer-postgres-breaking label.
  • If this PR isn't state-breaking but has changes that modify behavior in PrepareProposal or ProcessProposal, manually add the label proposal-breaking.
  • If this PR is one of many that implement a specific feature, manually label them all feature:[feature-name].
  • If you wish to for mergify-bot to automatically create a PR to backport your change to a release branch, manually add the label backport/[branch-name].
  • Manually add any of the following labels: refactor, chore, bug.

Summary by CodeRabbit

Release Notes

  • New Features

    • Added affiliate attribution tracking with support for referrer and referee volume attribution in 30-day rolling periods.
    • Enhanced affiliate statistics to include attributed volume metrics alongside existing revenue tracking.
    • Affiliate info queries now return 30-day rolling attributed volume data.
  • Bug Fixes

    • Fixed affiliate revenue share calculations to properly enforce configured per-user caps across all scenarios.
  • Improvements

    • Deprecated staked coins requirement in affiliate tier configuration; volume-based metrics now primary focus.

✏️ Tip: You can customize this high-level summary in your review settings.


This is an automatic backport of pull request #3250 done by [Mergify](https://mergify.com).

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 24, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

@jusbar23 jusbar23 merged commit b93a866 into release/protocol/v9.5.x Nov 25, 2025
40 of 41 checks passed
@jusbar23 jusbar23 deleted the mergify/bp/release/protocol/v9.5.x/pr-3250 branch November 25, 2025 04:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant